package com.genius.workflow.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "启动流程实例BO", description = "从客户端，由用户传入的数据封装在此entity中")
public class StartInstanceBO {

    @NotBlank(message = "流程定义key不能为空")
    @ApiModelProperty("流程定义key")
    private String definitionKey;

    @NotBlank(message = "流程实例名称不能为空")
    @ApiModelProperty("流程实例名称")
    private String instanceName;

    @NotBlank(message = "业务表单Key不能为空")
    @ApiModelProperty("业务表单Key")
    private String businessKey;
}
